home *** CD-ROM | disk | FTP | other *** search
- Path: litc.lockheed.com!BHURSCH
- From: BHURSCH@litc.lockheed.com (Bob Hursch)
- Newsgroups: comp.lang.c
- Subject: DLL Syntax Error in C
- Date: Thu, 15 Feb 1996 10:23:25 UNDEFINED
- Organization: Lockheed Martin M & S, Sunnyvale, CA
- Distribution: world
- Message-ID: <BHURSCH.31.00AEBF56@litc.lockheed.com>
- NNTP-Posting-Host: 192.203.43.155
- Keywords: DLL C ERROR
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #1]
-
- I am trying to learn about utilizing a DLL (written in C) from Visual Basic.
- I have attempted to compile a sample from a book, but get a syntax error
- I cannot fathom. On the line:
-
- extern "c"
-
- I receive the error "Invalid syntax found at "string". The extern appears
- directly berfore my first set of braces defining my WEP (Windows
- Exit Point). I am using Visual C++ V1.51 withouy ant Microsoft Classes
- specified. My understanding is that the extern statement informs
- VB that the code is written in C, not C++. Any help would be appreciated.
-
-